home *** CD-ROM | disk | FTP | other *** search
/ Yellows 2.0 - Tokyo / Akira Gomi Photographs - Yellows 2.0 - Tokyo 1993.iso / YELLOWS 2.0 / YELLOWS 2.0.rsrc / CODE_11534_TOURMAIN.txt < prev    next >
Text File  |  1993-10-13  |  33KB  |  590 lines

  1. # near model CODE resource
  2. # jump table entries: 7120-7121 (2 of them)
  3. 00000000  4E56 0000                link       A6, 0
  4. 00000004  102D FD85                move.b     D0, [A5 - 0x27B]
  5. 00000008  6700 00B2                beq        +0xB4 /* 000000BC */
  6. 0000000C  4EAD 0FB2                jsr        [A5 + 0xFB2 /* export_498 */]
  7. 00000010  2F2D FD64                move.l     -[A7], [A5 - 0x29C]
  8. 00000014  4EAD 0FAA                jsr        [A5 + 0xFAA /* export_497 */]
  9. 00000018  4EAD 0FBA                jsr        [A5 + 0xFBA /* export_499 */]
  10. 0000001C  4EAD 0F52                jsr        [A5 + 0xF52 /* export_486 */]
  11. 00000020  4EAD 0FC2                jsr        [A5 + 0xFC2 /* export_500 */]
  12. 00000024  2F2D FD68                move.l     -[A7], [A5 - 0x298]
  13. 00000028  205F                     movea.l    A0, [A7]+
  14. 0000002A  A023                     syscall    DisposHandle/DisposeHandle
  15. 0000002C  2F2D FD6C                move.l     -[A7], [A5 - 0x294]
  16. 00000030  4EAD 04FA                jsr        [A5 + 0x4FA /* export_155 */]
  17. 00000034  2F2D FD60                move.l     -[A7], [A5 - 0x2A0]
  18. 00000038  205F                     movea.l    A0, [A7]+
  19. 0000003A  A023                     syscall    DisposHandle/DisposeHandle
  20. 0000003C  2F2D FD58                move.l     -[A7], [A5 - 0x2A8]
  21. 00000040  205F                     movea.l    A0, [A7]+
  22. 00000042  A023                     syscall    DisposHandle/DisposeHandle
  23. 00000044  486D FD5C                pea.l      [A5 - 0x2A4]
  24. 00000048  4EAD 06EA                jsr        [A5 + 0x6EA /* export_217 */]
  25. 0000004C  2F2D FD3E                move.l     -[A7], [A5 - 0x2C2]
  26. 00000050  205F                     movea.l    A0, [A7]+
  27. 00000052  A023                     syscall    DisposHandle/DisposeHandle
  28. 00000054  486D FAAC                pea.l      [A5 - 0x554]
  29. 00000058  4EAD 06FA                jsr        [A5 + 0x6FA /* export_219 */]
  30. 0000005C  486D F85A                pea.l      [A5 - 0x7A6]
  31. 00000060  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  32. 00000064  2F2D F852                move.l     -[A7], [A5 - 0x7AE]
  33. 00000068  205F                     movea.l    A0, [A7]+
  34. 0000006A  A023                     syscall    DisposHandle/DisposeHandle
  35. 0000006C  4EAD 0842                jsr        [A5 + 0x842 /* export_260 */]
  36. 00000070  2F2D FD3A                move.l     -[A7], [A5 - 0x2C6]
  37. 00000074  205F                     movea.l    A0, [A7]+
  38. 00000076  A023                     syscall    DisposHandle/DisposeHandle
  39. 00000078  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  40. 0000007C  486D F264                pea.l      [A5 - 0xD9C]
  41. 00000080  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  42. 00000084  206D F4D4                movea.l    A0, [A5 - 0xB2C]
  43. 00000088  4868 0134                pea.l      [A0 + 0x134]
  44. 0000008C  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  45. 00000090  206D F4D4                movea.l    A0, [A5 - 0xB2C]
  46. 00000094  4868 0138                pea.l      [A0 + 0x138]
  47. 00000098  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  48. 0000009C  486D FDAC                pea.l      [A5 - 0x254]
  49. 000000A0  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  50. 000000A4  486D FDB0                pea.l      [A5 - 0x250]
  51. 000000A8  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  52. 000000AC  486D FDB8                pea.l      [A5 - 0x248]
  53. 000000B0  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  54. 000000B4  486D FDB4                pea.l      [A5 - 0x24C]
  55. 000000B8  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  56. label000000BC:
  57. 000000BC  4E5E                     unlink     A6
  58. 000000BE  4E75                     rts
  59. fn000000C0:
  60. 000000C0  4E56 0000                link       A6, 0
  61. 000000C4  4E5E                     unlink     A6
  62. 000000C6  4E75                     rts
  63. fn000000C8:
  64. 000000C8  4E56 FFF8                link       A6, -0x0008
  65. 000000CC  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  66. 000000D0  A922                     syscall    BeginUpdate
  67. 000000D2  206D F4C8                movea.l    A0, [A5 - 0xB38]
  68. 000000D6  4A50                     tst.w      [A0]
  69. 000000D8  6712                     beq        +0x14 /* 000000EC */
  70. 000000DA  206D F6FC                movea.l    A0, [A5 - 0x904]
  71. 000000DE  2068 0018                movea.l    A0, [A0 + 0x18]
  72. 000000E2  2050                     movea.l    A0, [A0]
  73. 000000E4  4868 0002                pea.l      [A0 + 0x2]
  74. 000000E8  4EAD 17AA                jsr        [A5 + 0x17AA /* export_753 */]
  75. label000000EC:
  76. 000000EC  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  77. 000000F0  A923                     syscall    EndUpdate
  78. 000000F2  4E5E                     unlink     A6
  79. 000000F4  4E75                     rts
  80. fn000000F6:
  81. 000000F6  4E56 FFFC                link       A6, -0x0004
  82. 000000FA  302D F7B0                move.w     D0, [A5 - 0x850]
  83. 000000FE  5740                     subq.w     D0, 3
  84. 00000100  671E                     beq        +0x20 /* 00000120 */
  85. 00000102  5340                     subq.w     D0, 1
  86. 00000104  670A                     beq        +0xC /* 00000110 */
  87. 00000106  5340                     subq.w     D0, 1
  88. 00000108  6716                     beq        +0x18 /* 00000120 */
  89. 0000010A  5340                     subq.w     D0, 1
  90. 0000010C  6718                     beq        +0x1A /* 00000126 */
  91. 0000010E  602C                     bra        +0x2E /* 0000013C */
  92. label00000110:
  93. 00000110  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  94. 00000114  2F2D F044                move.l     -[A7], [A5 - 0xFBC]
  95. 00000118  486D F778                pea.l      [A5 - 0x888]
  96. 0000011C  A925                     syscall    DragWindow
  97. 0000011E  601C                     bra        +0x1E /* 0000013C */
  98. label00000120:
  99. 00000120  4EAD 0572                jsr        [A5 + 0x572 /* export_170 */]
  100. 00000124  6016                     bra        +0x18 /* 0000013C */
  101. label00000126:
  102. 00000126  4267                     clr.w      -[A7]
  103. 00000128  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  104. 0000012C  2F2D F044                move.l     -[A7], [A5 - 0xFBC]
  105. 00000130  A91E                     syscall    TrackGoAway
  106. 00000132  101F                     move.b     D0, [A7]+
  107. 00000134  6706                     beq        +0x8 /* 0000013C */
  108. 00000136  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  109. 0000013A  A916                     syscall    HideWindow
  110. label0000013C:
  111. 0000013C  4E5E                     unlink     A6
  112. 0000013E  4E75                     rts
  113. fn00000140:
  114. 00000140  4E56 0000                link       A6, 0
  115. 00000144  1B7C 0001 F043           move.b     [A5 - 0xFBD], 0x1
  116. 0000014A  302D F7BC                move.w     D0, [A5 - 0x844]
  117. 0000014E  5340                     subq.w     D0, 1
  118. 00000150  6722                     beq        +0x24 /* 00000174 */
  119. 00000152  5340                     subq.w     D0, 1
  120. 00000154  6724                     beq        +0x26 /* 0000017A */
  121. 00000156  5340                     subq.w     D0, 1
  122. 00000158  6726                     beq        +0x28 /* 00000180 */
  123. 0000015A  5540                     subq.w     D0, 2
  124. 0000015C  6722                     beq        +0x24 /* 00000180 */
  125. 0000015E  5340                     subq.w     D0, 1
  126. 00000160  670C                     beq        +0xE /* 0000016E */
  127. 00000162  5540                     subq.w     D0, 2
  128. 00000164  6702                     beq        +0x4 /* 00000168 */
  129. 00000166  601C                     bra        +0x1E /* 00000184 */
  130. label00000168:
  131. 00000168  4EBA FF56                jsr        [PC - 0xAA /* 000000C0 */]
  132. 0000016C  6016                     bra        +0x18 /* 00000184 */
  133. label0000016E:
  134. 0000016E  4EBA FF58                jsr        [PC - 0xA8 /* 000000C8 */]
  135. 00000172  6010                     bra        +0x12 /* 00000184 */
  136. label00000174:
  137. 00000174  4EBA FF80                jsr        [PC - 0x80 /* 000000F6 */]
  138. 00000178  600A                     bra        +0xC /* 00000184 */
  139. label0000017A:
  140. 0000017A  4EAD 056A                jsr        [A5 + 0x56A /* export_169 */]
  141. 0000017E  6004                     bra        +0x6 /* 00000184 */
  142. label00000180:
  143. 00000180  4EAD 057A                jsr        [A5 + 0x57A /* export_171 */]
  144. label00000184:
  145. 00000184  4E5E                     unlink     A6
  146. 00000186  4E75                     rts
  147. fn00000188:
  148. 00000188  4E56 FFFC                link       A6, -0x0004
  149. 0000018C  4AAD F7B2                tst.l      [A5 - 0x84E]
  150. 00000190  6602                     bne        +0x4 /* 00000194 */
  151. 00000192  6052                     bra        +0x54 /* 000001E6 */
  152. label00000194:
  153. 00000194  486E FFFC                pea.l      [A6 - 0x4]
  154. 00000198  A874                     syscall    GetPort
  155. 0000019A  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  156. 0000019E  A873                     syscall    SetPort
  157. 000001A0  4267                     clr.w      -[A7]
  158. 000001A2  486D F7BC                pea.l      [A5 - 0x844]
  159. 000001A6  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  160. 000001AA  3F2D F7B0                move.w     -[A7], [A5 - 0x850]
  161. 000001AE  4EAD 0FCA                jsr        [A5 + 0xFCA /* export_501 */]
  162. 000001B2  101F                     move.b     D0, [A7]+
  163. 000001B4  662A                     bne        +0x2C /* 000001E0 */
  164. 000001B6  486D F7C6                pea.l      [A5 - 0x83A]
  165. 000001BA  A871                     syscall    GlobalToLocal
  166. 000001BC  202D F7B2                move.l     D0, [A5 - 0x84E]
  167. 000001C0  B0AD F6FC                cmp.l      D0, [A5 - 0x904]
  168. 000001C4  6606                     bne        +0x8 /* 000001CC */
  169. 000001C6  4EBA FF78                jsr        [PC - 0x88 /* 00000140 */]
  170. 000001CA  6014                     bra        +0x16 /* 000001E0 */
  171. label000001CC:
  172. 000001CC  7006                     moveq.l    D0, 0x06
  173. 000001CE  B06D F7BC                cmp.w      D0, [A5 - 0x844]
  174. 000001D2  660C                     bne        +0xE /* 000001E0 */
  175. 000001D4  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  176. 000001D8  A922                     syscall    BeginUpdate
  177. 000001DA  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  178. 000001DE  A923                     syscall    EndUpdate
  179. label000001E0:
  180. 000001E0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  181. 000001E4  A873                     syscall    SetPort
  182. label000001E6:
  183. 000001E6  4E5E                     unlink     A6
  184. 000001E8  4E75                     rts
  185. fn000001EA:
  186. 000001EA  4E56 FFF8                link       A6, -0x0008
  187. 000001EE  203C 0000 00FF           move.l     D0, 0xFF
  188. 000001F4  C0AD F7BE                and.l      D0, [A5 - 0x842]
  189. 000001F8  3B40 F7A8                move.w     [A5 - 0x858], D0
  190. 000001FC  203C 0000 FF00           move.l     D0, 0xFF00
  191. 00000202  C0AD F7BE                and.l      D0, [A5 - 0x842]
  192. 00000206  E088                     lsr        D0, 8
  193. 00000208  3B40 F7AA                move.w     [A5 - 0x856], D0
  194. 0000020C  2B6D F7C2 F790           move.l     [A5 - 0x870], [A5 - 0x83E]
  195. 00000212  42A7                     clr.l      -[A7]
  196. 00000214  A924                     syscall    FrontWindow
  197. 00000216  2B5F F7B2                move.l     [A5 - 0x84E], [A7]+
  198. 0000021A  7000                     moveq.l    D0, 0x00
  199. 0000021C  302D F7CA                move.w     D0, [A5 - 0x836]
  200. 00000220  C0BC 0000 0100           and.l      D0, 0x100
  201. 00000226  4A80                     tst.l      D0
  202. 00000228  6700 00D2                beq        +0xD4 /* 000002FC */
  203. 0000022C  102D F0C3                move.b     D0, [A5 - 0xF3D]
  204. 00000230  0A00 0001                xori.b     D0, 0x1
  205. 00000234  722E                     moveq.l    D1, 0x2E
  206. 00000236  B26D F7A8                cmp.w      D1, [A5 - 0x858]
  207. 0000023A  57C1                     seq        D1
  208. 0000023C  7457                     moveq.l    D2, 0x57
  209. 0000023E  B46D F7A8                cmp.w      D2, [A5 - 0x858]
  210. 00000242  57C2                     seq        D2
  211. 00000244  8202                     or.b       D1, D2
  212. 00000246  7477                     moveq.l    D2, 0x77
  213. 00000248  B46D F7A8                cmp.w      D2, [A5 - 0x858]
  214. 0000024C  57C2                     seq        D2
  215. 0000024E  8202                     or.b       D1, D2
  216. 00000250  7451                     moveq.l    D2, 0x51
  217. 00000252  B46D F7A8                cmp.w      D2, [A5 - 0x858]
  218. 00000256  57C2                     seq        D2
  219. 00000258  8202                     or.b       D1, D2
  220. 0000025A  7471                     moveq.l    D2, 0x71
  221. 0000025C  B46D F7A8                cmp.w      D2, [A5 - 0x858]
  222. 00000260  57C2                     seq        D2
  223. 00000262  8202                     or.b       D1, D2
  224. 00000264  C001                     and.b      D0, D1
  225. 00000266  6724                     beq        +0x26 /* 0000028C */
  226. 00000268  1B7C 0001 FD87           move.b     [A5 - 0x279], 0x1
  227. 0000026E  702E                     moveq.l    D0, 0x2E
  228. 00000270  B06D F7A8                cmp.w      D0, [A5 - 0x858]
  229. 00000274  6600 008A                bne        +0x8C /* 00000300 */
  230. 00000278  2F3C 0003 0000           move.l     -[A7], 0x30000
  231. 0000027E  2F2D F7BE                move.l     -[A7], [A5 - 0x842]
  232. 00000282  4EAD 035A                jsr        [A5 + 0x35A /* export_103 */]
  233. 00000286  3D5F FFFA                move.w     [A6 - 0x6], [A7]+
  234. 0000028A  6074                     bra        +0x76 /* 00000300 */
  235. label0000028C:
  236. 0000028C  102D F0C3                move.b     D0, [A5 - 0xF3D]
  237. 00000290  0A00 0001                xori.b     D0, 0x1
  238. 00000294  7260                     moveq.l    D1, 0x60
  239. 00000296  B26D F7A8                cmp.w      D1, [A5 - 0x858]
  240. 0000029A  57C1                     seq        D1
  241. 0000029C  747E                     moveq.l    D2, 0x7E
  242. 0000029E  B46D F7A8                cmp.w      D2, [A5 - 0x858]
  243. 000002A2  57C2                     seq        D2
  244. 000002A4  8202                     or.b       D1, D2
  245. 000002A6  C001                     and.b      D0, D1
  246. 000002A8  6710                     beq        +0x12 /* 000002BA */
  247. 000002AA  102D F48F                move.b     D0, [A5 - 0xB71]
  248. 000002AE  0A00 0001                xori.b     D0, 0x1
  249. 000002B2  1F00                     move.b     -[A7], D0
  250. 000002B4  4EAD 1112                jsr        [A5 + 0x1112 /* export_542 */]
  251. 000002B8  6046                     bra        +0x48 /* 00000300 */
  252. label000002BA:
  253. 000002BA  4AAD FD98                tst.l      [A5 - 0x268]
  254. 000002BE  6736                     beq        +0x38 /* 000002F6 */
  255. 000002C0  42A7                     clr.l      -[A7]
  256. 000002C2  3F2D F7A8                move.w     -[A7], [A5 - 0x858]
  257. 000002C6  A93E                     syscall    MenuKey
  258. 000002C8  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  259. 000002CC  4267                     clr.w      -[A7]
  260. 000002CE  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  261. 000002D2  A86A                     syscall    HiWord
  262. 000002D4  3B5F F7AE                move.w     [A5 - 0x852], [A7]+
  263. 000002D8  4267                     clr.w      -[A7]
  264. 000002DA  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  265. 000002DE  A86B                     syscall    LoWord
  266. 000002E0  3B5F F7AC                move.w     [A5 - 0x854], [A7]+
  267. 000002E4  0C6D 01F5 F7AE           cmpi.w     [A5 - 0x852], 0x1F5
  268. 000002EA  6D14                     blt        +0x16 /* 00000300 */
  269. 000002EC  4267                     clr.w      -[A7]
  270. 000002EE  A938                     syscall    HiliteMenu
  271. 000002F0  4EAD 055A                jsr        [A5 + 0x55A /* export_167 */]
  272. 000002F4  600A                     bra        +0xC /* 00000300 */
  273. label000002F6:
  274. 000002F6  4EBA FE90                jsr        [PC - 0x170 /* 00000188 */]
  275. 000002FA  6004                     bra        +0x6 /* 00000300 */
  276. label000002FC:
  277. 000002FC  4EBA FE8A                jsr        [PC - 0x176 /* 00000188 */]
  278. label00000300:
  279. 00000300  4E5E                     unlink     A6
  280. 00000302  4E75                     rts
  281. fn00000304:
  282. 00000304  4E56 FFFC                link       A6, -0x0004
  283. 00000308  2F07                     move.l     -[A7], D7
  284. 0000030A  102D FD97                move.b     D0, [A5 - 0x269]
  285. 0000030E  6734                     beq        +0x36 /* 00000344 */
  286. 00000310  42A7                     clr.l      -[A7]
  287. 00000312  2F2D F044                move.l     -[A7], [A5 - 0xFBC]
  288. 00000316  A93D                     syscall    MenuSelect
  289. 00000318  2E1F                     move.l     D7, [A7]+
  290. 0000031A  4267                     clr.w      -[A7]
  291. 0000031C  2F07                     move.l     -[A7], D7
  292. 0000031E  A86A                     syscall    HiWord
  293. 00000320  3B5F F7AE                move.w     [A5 - 0x852], [A7]+
  294. 00000324  4267                     clr.w      -[A7]
  295. 00000326  2F07                     move.l     -[A7], D7
  296. 00000328  A86B                     syscall    LoWord
  297. 0000032A  3B5F F7AC                move.w     [A5 - 0x854], [A7]+
  298. 0000032E  4267                     clr.w      -[A7]
  299. 00000330  A938                     syscall    HiliteMenu
  300. 00000332  0C6D 01F5 F7AE           cmpi.w     [A5 - 0x852], 0x1F5
  301. 00000338  6D0A                     blt        +0xC /* 00000344 */
  302. 0000033A  1B7C 0001 F043           move.b     [A5 - 0xFBD], 0x1
  303. 00000340  4EAD 055A                jsr        [A5 + 0x55A /* export_167 */]
  304. label00000344:
  305. 00000344  2E1F                     move.l     D7, [A7]+
  306. 00000346  4E5E                     unlink     A6
  307. 00000348  4E75                     rts
  308. fn0000034A:
  309. 0000034A  4E56 FFF0                link       A6, -0x0010
  310. 0000034E  206E 0008                movea.l    A0, [A6 + 0x8]
  311. 00000352  43EE FFF0                lea.l      A1, [A6 - 0x10]
  312. 00000356  22D8                     move.l     [A1]+, [A0]+
  313. 00000358  22D8                     move.l     [A1]+, [A0]+
  314. 0000035A  22D8                     move.l     [A1]+, [A0]+
  315. 0000035C  22D8                     move.l     [A1]+, [A0]+
  316. 0000035E  422D F043                clr.b      [A5 - 0xFBD]
  317. 00000362  41ED F7BC                lea.l      A0, [A5 - 0x844]
  318. 00000366  43EE FFF0                lea.l      A1, [A6 - 0x10]
  319. 0000036A  20D9                     move.l     [A0]+, [A1]+
  320. 0000036C  20D9                     move.l     [A0]+, [A1]+
  321. 0000036E  20D9                     move.l     [A0]+, [A1]+
  322. 00000370  20D9                     move.l     [A0]+, [A1]+
  323. 00000372  2B6D F7C6 F044           move.l     [A5 - 0xFBC], [A5 - 0x83A]
  324. 00000378  7000                     moveq.l    D0, 0x00
  325. 0000037A  302D F7CA                move.w     D0, [A5 - 0x836]
  326. 0000037E  C0BC 0000 0200           and.l      D0, 0x200
  327. 00000384  4A80                     tst.l      D0
  328. 00000386  56C0                     sne        D0
  329. 00000388  4400                     neg.b      D0
  330. 0000038A  1B40 F7BB                move.b     [A5 - 0x845], D0
  331. 0000038E  7000                     moveq.l    D0, 0x00
  332. 00000390  302D F7CA                move.w     D0, [A5 - 0x836]
  333. 00000394  C0BC 0000 0800           and.l      D0, 0x800
  334. 0000039A  4A80                     tst.l      D0
  335. 0000039C  56C0                     sne        D0
  336. 0000039E  4400                     neg.b      D0
  337. 000003A0  1B40 F7BA                move.b     [A5 - 0x846], D0
  338. 000003A4  7000                     moveq.l    D0, 0x00
  339. 000003A6  302D F7CA                move.w     D0, [A5 - 0x836]
  340. 000003AA  C0BC 0000 0100           and.l      D0, 0x100
  341. 000003B0  4A80                     tst.l      D0
  342. 000003B2  56C0                     sne        D0
  343. 000003B4  4400                     neg.b      D0
  344. 000003B6  1B40 F7B9                move.b     [A5 - 0x847], D0
  345. 000003BA  7000                     moveq.l    D0, 0x00
  346. 000003BC  302D F7CA                move.w     D0, [A5 - 0x836]
  347. 000003C0  C0BC 0000 1000           and.l      D0, 0x1000
  348. 000003C6  4A80                     tst.l      D0
  349. 000003C8  56C0                     sne        D0
  350. 000003CA  4400                     neg.b      D0
  351. 000003CC  1B40 F7B8                move.b     [A5 - 0x848], D0
  352. 000003D0  302D F7BC                move.w     D0, [A5 - 0x844]
  353. 000003D4  6700 00CA                beq        +0xCC /* 000004A0 */
  354. 000003D8  5340                     subq.w     D0, 1
  355. 000003DA  6736                     beq        +0x38 /* 00000412 */
  356. 000003DC  5340                     subq.w     D0, 1
  357. 000003DE  6776                     beq        +0x78 /* 00000456 */
  358. 000003E0  5340                     subq.w     D0, 1
  359. 000003E2  6700 00A4                beq        +0xA6 /* 00000488 */
  360. 000003E6  5540                     subq.w     D0, 2
  361. 000003E8  6700 009E                beq        +0xA0 /* 00000488 */
  362. 000003EC  5340                     subq.w     D0, 1
  363. 000003EE  6714                     beq        +0x16 /* 00000404 */
  364. 000003F0  5540                     subq.w     D0, 2
  365. 000003F2  6710                     beq        +0x12 /* 00000404 */
  366. 000003F4  5F40                     subq.w     D0, 7
  367. 000003F6  6700 00CE                beq        +0xD0 /* 000004C6 */
  368. 000003FA  5140                     subq.w     D0, 8
  369. 000003FC  6700 0090                beq        +0x92 /* 0000048E */
  370. 00000400  6000 00C8                bra        +0xCA /* 000004CA */
  371. label00000404:
  372. 00000404  2B6D F7BE F7B2           move.l     [A5 - 0x84E], [A5 - 0x842]
  373. 0000040A  4EBA FD7C                jsr        [PC - 0x284 /* 00000188 */]
  374. 0000040E  6000 00BA                bra        +0xBC /* 000004CA */
  375. label00000412:
  376. 00000412  4267                     clr.w      -[A7]
  377. 00000414  2F2D F7C6                move.l     -[A7], [A5 - 0x83A]
  378. 00000418  486D F7B2                pea.l      [A5 - 0x84E]
  379. 0000041C  A92C                     syscall    FindWindow
  380. 0000041E  3B5F F7B0                move.w     [A5 - 0x850], [A7]+
  381. 00000422  2B6D F79C F794           move.l     [A5 - 0x86C], [A5 - 0x864]
  382. 00000428  2B6D F7C2 F79C           move.l     [A5 - 0x864], [A5 - 0x83E]
  383. 0000042E  302D F7B0                move.w     D0, [A5 - 0x850]
  384. 00000432  5340                     subq.w     D0, 1
  385. 00000434  6706                     beq        +0x8 /* 0000043C */
  386. 00000436  5340                     subq.w     D0, 1
  387. 00000438  670A                     beq        +0xC /* 00000444 */
  388. 0000043A  6014                     bra        +0x16 /* 00000450 */
  389. label0000043C:
  390. 0000043C  4EBA FEC6                jsr        [PC - 0x13A /* 00000304 */]
  391. 00000440  6000 0088                bra        +0x8A /* 000004CA */
  392. label00000444:
  393. 00000444  486D F7BC                pea.l      [A5 - 0x844]
  394. 00000448  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  395. 0000044C  A9B3                     syscall    SystemClick
  396. 0000044E  607A                     bra        +0x7C /* 000004CA */
  397. label00000450:
  398. 00000450  4EBA FD36                jsr        [PC - 0x2CA /* 00000188 */]
  399. 00000454  6074                     bra        +0x76 /* 000004CA */
  400. label00000456:
  401. 00000456  4267                     clr.w      -[A7]
  402. 00000458  2F2D F7C6                move.l     -[A7], [A5 - 0x83A]
  403. 0000045C  486D F7B2                pea.l      [A5 - 0x84E]
  404. 00000460  A92C                     syscall    FindWindow
  405. 00000462  3B5F F7B0                move.w     [A5 - 0x850], [A7]+
  406. 00000466  4267                     clr.w      -[A7]
  407. 00000468  486D F7BC                pea.l      [A5 - 0x844]
  408. 0000046C  2F2D F7B2                move.l     -[A7], [A5 - 0x84E]
  409. 00000470  3F2D F7B0                move.w     -[A7], [A5 - 0x850]
  410. 00000474  4EAD 0FCA                jsr        [A5 + 0xFCA /* export_501 */]
  411. 00000478  101F                     move.b     D0, [A7]+
  412. 0000047A  664E                     bne        +0x50 /* 000004CA */
  413. 0000047C  102D F261                move.b     D0, [A5 - 0xD9F]
  414. 00000480  6748                     beq        +0x4A /* 000004CA */
  415. 00000482  4EAD 056A                jsr        [A5 + 0x56A /* export_169 */]
  416. 00000486  6042                     bra        +0x44 /* 000004CA */
  417. label00000488:
  418. 00000488  4EBA FD60                jsr        [PC - 0x2A0 /* 000001EA */]
  419. 0000048C  603C                     bra        +0x3E /* 000004CA */
  420. label0000048E:
  421. 0000048E  4267                     clr.w      -[A7]
  422. 00000490  486D F7BC                pea.l      [A5 - 0x844]
  423. 00000494  303C 021B                move.w     D0, 0x21B
  424. 00000498  A816                     syscall    Pack8
  425. 0000049A  4A5F                     tst.w      [A7]+
  426. 0000049C  662C                     bne        +0x2E /* 000004CA */
  427. 0000049E  602A                     bra        +0x2C /* 000004CA */
  428. label000004A0:
  429. 000004A0  202D F7C6                move.l     D0, [A5 - 0x83A]
  430. 000004A4  B0AD F788                cmp.l      D0, [A5 - 0x878]
  431. 000004A8  670E                     beq        +0x10 /* 000004B8 */
  432. 000004AA  42A7                     clr.l      -[A7]
  433. 000004AC  A975                     syscall    TickCount
  434. 000004AE  2B5F F78C                move.l     [A5 - 0x874], [A7]+
  435. 000004B2  2B6D F7C6 F788           move.l     [A5 - 0x878], [A5 - 0x83A]
  436. label000004B8:
  437. 000004B8  42A7                     clr.l      -[A7]
  438. 000004BA  A924                     syscall    FrontWindow
  439. 000004BC  2B5F F7B2                move.l     [A5 - 0x84E], [A7]+
  440. 000004C0  4EBA FCC6                jsr        [PC - 0x33A /* 00000188 */]
  441. 000004C4  6004                     bra        +0x6 /* 000004CA */
  442. label000004C6:
  443. 000004C6  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  444. label000004CA:
  445. 000004CA  4EAD 0592                jsr        [A5 + 0x592 /* export_174 */]
  446. 000004CE  1D6D F043 000C           move.b     [A6 + 0xC], [A5 - 0xFBD]
  447. 000004D4  4E5E                     unlink     A6
  448. 000004D6  2E9F                     move.l     [A7], [A7]+
  449. 000004D8  4E75                     rts
  450. fn000004DA:
  451. 000004DA  4E56 FFFC                link       A6, -0x0004
  452. 000004DE  2D7C 0000 09DC FFFC      move.l     [A6 - 0x4], 0x9DC
  453. 000004E6  206E FFFC                movea.l    A0, [A6 - 0x4]
  454. 000004EA  4250                     clr.w      [A0]
  455. 000004EC  4E5E                     unlink     A6
  456. 000004EE  4E75                     rts
  457. fn000004F0:
  458. 000004F0  4E56 FFF0                link       A6, -0x0010
  459. 000004F4  1B6D F6E6 F041           move.b     [A5 - 0xFBF], [A5 - 0x91A]
  460. 000004FA  102D F6E6                move.b     D0, [A5 - 0x91A]
  461. 000004FE  6602                     bne        +0x4 /* 00000502 */
  462. 00000500  607A                     bra        +0x7C /* 0000057C */
  463. label00000502:
  464. 00000502  422D F6E6                clr.b      [A5 - 0x91A]
  465. 00000506  2B6D F6FC F03C           move.l     [A5 - 0xFC4], [A5 - 0x904]
  466. 0000050C  2F2D F6FC                move.l     -[A7], [A5 - 0x904]
  467. 00000510  A873                     syscall    SetPort
  468. 00000512  486E FFF0                pea.l      [A6 - 0x10]
  469. 00000516  4EAD 1602                jsr        [A5 + 0x1602 /* export_700 */]
  470. 0000051A  205F                     movea.l    A0, [A7]+
  471. 0000051C  43EE FFF8                lea.l      A1, [A6 - 0x8]
  472. 00000520  22D8                     move.l     [A1]+, [A0]+
  473. 00000522  22D8                     move.l     [A1]+, [A0]+
  474. 00000524  4EBA FFB4                jsr        [PC - 0x4C /* 000004DA */]
  475. 00000528  102D F6BB                move.b     D0, [A5 - 0x945]
  476. 0000052C  6724                     beq        +0x26 /* 00000552 */
  477. 0000052E  42A7                     clr.l      -[A7]
  478. 00000530  42A7                     clr.l      -[A7]
  479. 00000532  486E FFF8                pea.l      [A6 - 0x8]
  480. 00000536  487A 0048                pea.l      [PC + 0x48 /* 00000580, value 0x4E56 'NV' */]
  481. 0000053A  1F3C 0001                move.b     -[A7], 0x1
  482. 0000053E  3F3C 0002                move.w     -[A7], 0x2
  483. 00000542  70FF                     moveq.l    D0, 0xFFFFFFFF
  484. 00000544  2F00                     move.l     -[A7], D0
  485. 00000546  4267                     clr.w      -[A7]
  486. 00000548  42A7                     clr.l      -[A7]
  487. 0000054A  AA45                     syscall    NewCWindow
  488. 0000054C  2B5F F6FC                move.l     [A5 - 0x904], [A7]+
  489. 00000550  6022                     bra        +0x24 /* 00000574 */
  490. label00000552:
  491. 00000552  42A7                     clr.l      -[A7]
  492. 00000554  42A7                     clr.l      -[A7]
  493. 00000556  486E FFF8                pea.l      [A6 - 0x8]
  494. 0000055A  487A 0024                pea.l      [PC + 0x24 /* 00000580, value 0x4E56 'NV' */]
  495. 0000055E  1F3C 0001                move.b     -[A7], 0x1
  496. 00000562  3F3C 0002                move.w     -[A7], 0x2
  497. 00000566  70FF                     moveq.l    D0, 0xFFFFFFFF
  498. 00000568  2F00                     move.l     -[A7], D0
  499. 0000056A  4267                     clr.w      -[A7]
  500. 0000056C  42A7                     clr.l      -[A7]
  501. 0000056E  A913                     syscall    NewWindow
  502. 00000570  2B5F F6FC                move.l     [A5 - 0x904], [A7]+
  503. label00000574:
  504. 00000574  486D F6B2                pea.l      [A5 - 0x94E]
  505. 00000578  4EAD 138A                jsr        [A5 + 0x138A /* export_621 */]
  506. label0000057C:
  507. 0000057C  4E5E                     unlink     A6
  508. 0000057E  4E75                     rts
  509. 00000580  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  510. // begin alternate branch 00000582-0000058A
  511. fn00000582:
  512. 00000582  4E56 0000                link       A6, 0
  513. 00000586  102D F041                move.b     D0, [A5 - 0xFBF]
  514. // end alternate branch 00000582-0000058A
  515. fn00000582: // (misaligned)
  516. 00000584  0000 102D                ori.b      D0, 0x2D /* '-' */
  517. 00000588  F041                     .extension 0x041 // unimplemented
  518. 0000058A  671E                     beq        +0x20 /* 000005AA */
  519. 0000058C  1B7C 0001 F6E6           move.b     [A5 - 0x91A], 0x1
  520. 00000592  4EBA FF46                jsr        [PC - 0xBA /* 000004DA */]
  521. 00000596  2F2D F6FC                move.l     -[A7], [A5 - 0x904]
  522. 0000059A  A914                     syscall    DisposeWindow
  523. 0000059C  2B6D F03C F6FC           move.l     [A5 - 0x904], [A5 - 0xFC4]
  524. 000005A2  486D F6B2                pea.l      [A5 - 0x94E]
  525. 000005A6  4EAD 138A                jsr        [A5 + 0x138A /* export_621 */]
  526. label000005AA:
  527. 000005AA  4E5E                     unlink     A6
  528. 000005AC  4E75                     rts
  529. 000005AE  4E56 FFF4                link       A6, -0x000C
  530. 000005B2  48E7 0700                movem.l    -[A7], D5,D6,D7
  531. 000005B6  206D F4C8                movea.l    A0, [A5 - 0xB38]
  532. 000005BA  1A28 0743                move.b     D5, [A0 + 0x743]
  533. 000005BE  117C 0001 0743           move.b     [A0 + 0x743], 0x1
  534. 000005C4  486E FFFA                pea.l      [A6 - 0x6]
  535. 000005C8  A874                     syscall    GetPort
  536. 000005CA  4EBA FF24                jsr        [PC - 0xDC /* 000004F0 */]
  537. 000005CE  2F2D F6FC                move.l     -[A7], [A5 - 0x904]
  538. 000005D2  A873                     syscall    SetPort
  539. 000005D4  4EAD 1512                jsr        [A5 + 0x1512 /* export_670 */]
  540. label000005D8:
  541. 000005D8  102D F24F                move.b     D0, [A5 - 0xDB1]
  542. 000005DC  6704                     beq        +0x6 /* 000005E2 */
  543. 000005DE  7E00                     moveq.l    D7, 0x00
  544. 000005E0  6002                     bra        +0x4 /* 000005E4 */
  545. label000005E2:
  546. 000005E2  7E05                     moveq.l    D7, 0x05
  547. label000005E4:
  548. 000005E4  2F3C FFFF 0000           move.l     -[A7], 0xFFFF0000
  549. 000005EA  486D F7BC                pea.l      [A5 - 0x844]
  550. 000005EE  2F07                     move.l     -[A7], D7
  551. 000005F0  42A7                     clr.l      -[A7]
  552. 000005F2  A860                     syscall    WaitNextEvent
  553. 000005F4  1C1F                     move.b     D6, [A7]+
  554. 000005F6  102D F6BB                move.b     D0, [A5 - 0x945]
  555. 000005FA  6704                     beq        +0x6 /* 00000600 */
  556. 000005FC  4EAD 174A                jsr        [A5 + 0x174A /* export_741 */]
  557. label00000600:
  558. 00000600  4A6D F7BC                tst.w      [A5 - 0x844]
  559. 00000604  57C0                     seq        D0
  560. 00000606  2206                     move.l     D1, D6
  561. 00000608  8200                     or.b       D1, D0
  562. 0000060A  0241 0001                andi.w     D1, 0x1
  563. 0000060E  670C                     beq        +0xE /* 0000061C */
  564. 00000610  4267                     clr.w      -[A7]
  565. 00000612  486D F7BC                pea.l      [A5 - 0x844]
  566. 00000616  4EBA FD32                jsr        [PC - 0x2CE /* 0000034A */]
  567. 0000061A  1C1F                     move.b     D6, [A7]+
  568. label0000061C:
  569. 0000061C  102D FD87                move.b     D0, [A5 - 0x279]
  570. 00000620  67B6                     beq        -0x48 /* 000005D8 */
  571. 00000622  422D F4CE                clr.b      [A5 - 0xB32]
  572. 00000626  4EAD 1162                jsr        [A5 + 0x1162 /* export_552 */]
  573. 0000062A  4EAD 0552                jsr        [A5 + 0x552 /* export_166 */]
  574. 0000062E  4AAD F264                tst.l      [A5 - 0xD9C]
  575. 00000632  6712                     beq        +0x14 /* 00000646 */
  576. 00000634  2F2D F264                move.l     -[A7], [A5 - 0xD9C]
  577. 00000638  A93C                     syscall    SetMenuBar
  578. 0000063A  4EAD 0092                jsr        [A5 + 0x92 /* export_14 */]
  579. 0000063E  486D F264                pea.l      [A5 - 0xD9C]
  580. 00000642  4EAD 1532                jsr        [A5 + 0x1532 /* export_674 */]
  581. label00000646:
  582. 00000646  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  583. 0000064A  A873                     syscall    SetPort
  584. 0000064C  4EBA FF34                jsr        [PC - 0xCC /* 00000582 */]
  585. 00000650  206D F4C8                movea.l    A0, [A5 - 0xB38]
  586. 00000654  1145 0743                move.b     [A0 + 0x743], D5
  587. 00000658  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  588. 0000065C  4E5E                     unlink     A6
  589. 0000065E  4E75                     rts
  590.